#include "glosa.h"


namespace doa14
{
	glosa::glosa()
	{
	}

	glosa::glosa(string word, string trans)
	{
		this->word = word;
		this->translation = trans;
	}

	glosa::~glosa()
	{
	}

	bool glosa::operator== (const string &s)
	{
		if (word == s || translation == s)
		{
			return true;
		}
		else
		{
			return false;
		}
	}

	ostream & operator << (ostream &o, glosa &g)
	{
		o << g.word << " - " << g.translation;
		return o;
	}
}